projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7835fcd
)
basic-test: commit with a non-empty subject
author
Jonathan Lebon
<jlebon@redhat.com>
Thu, 31 Mar 2016 13:10:27 +0000
(14:10 +0100)
committer
Colin Walters (automation)
<walters+githubbot@verbum.org>
Thu, 31 Mar 2016 14:22:06 +0000
(14:22 +0000)
[smcv: split out from a larger commit, part of PR #231; add commit message]
Signed-off-by: Simon McVittie <smcv@debian.org>
Closes: #232
Approved by: cgwalters
tests/basic-test.sh
patch
|
blob
|
history
diff --git
a/tests/basic-test.sh
b/tests/basic-test.sh
index 1ae7e7a4419060e4ac51b051bb56da45250c84d9..5519764a70ee10586a7926b75a822979e8c1b5ca 100755
(executable)
--- a/
tests/basic-test.sh
+++ b/
tests/basic-test.sh
@@
-114,7
+114,7
@@
assert_streq $($OSTREE log test2-custom-parent |grep '^commit' | wc -l) "3"
echo "ok commit custom parent"
cd ${test_tmpdir}
-orphaned_rev=$($OSTREE commit --orphan -s
''
$test_tmpdir/checkout-test2-4)
+orphaned_rev=$($OSTREE commit --orphan -s
"$(date)"
$test_tmpdir/checkout-test2-4)
$OSTREE ls ${orphaned_rev} >/dev/null
$OSTREE prune --refs-only
if $OSTREE ls ${orphaned_rev} 2>err.txt; then